home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / clib / locale_protos.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  3KB  |  67 lines

  1. #ifndef  CLIB_LOCALE_PROTOS_H
  2. #define  CLIB_LOCALE_PROTOS_H
  3.  
  4. /*
  5. **    $VER: locale_protos.h 38.5 (18.6.93)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  LIBRARIES_LOCALE_H
  18. #include <libraries/locale.h>
  19. #endif
  20. #ifndef  DOS_DOS_H
  21. #include <dos/dos.h>
  22. #endif
  23. #ifndef  UTILITY_HOOKS_H
  24. #include <utility/hooks.h>
  25. #endif
  26. #ifndef  UTILITY_TAGITEM_H
  27. #include <utility/tagitem.h>
  28. #endif
  29. #ifndef  REXX_STORAGE_H
  30. #include <rexx/storage.h>
  31. #endif
  32. /*--- functions in V38 or higher (Release 2.1) ---*/
  33. void CloseCatalog( struct Catalog *catalog );
  34. void CloseLocale( struct Locale *locale );
  35. ULONG ConvToLower( struct Locale *locale, unsigned long character );
  36. ULONG ConvToUpper( struct Locale *locale, unsigned long character );
  37. void FormatDate( struct Locale *locale, STRPTR fmtTemplate,
  38.     struct DateStamp *date, struct Hook *putCharFunc );
  39. APTR FormatString( struct Locale *locale, STRPTR fmtTemplate, APTR dataStream,
  40.     struct Hook *putCharFunc );
  41. STRPTR GetCatalogStr( struct Catalog *catalog, long stringNum,
  42.     STRPTR defaultString );
  43. STRPTR GetLocaleStr( struct Locale *locale, unsigned long stringNum );
  44. BOOL IsAlNum( struct Locale *locale, unsigned long character );
  45. BOOL IsAlpha( struct Locale *locale, unsigned long character );
  46. BOOL IsCntrl( struct Locale *locale, unsigned long character );
  47. BOOL IsDigit( struct Locale *locale, unsigned long character );
  48. BOOL IsGraph( struct Locale *locale, unsigned long character );
  49. BOOL IsLower( struct Locale *locale, unsigned long character );
  50. BOOL IsPrint( struct Locale *locale, unsigned long character );
  51. BOOL IsPunct( struct Locale *locale, unsigned long character );
  52. BOOL IsSpace( struct Locale *locale, unsigned long character );
  53. BOOL IsUpper( struct Locale *locale, unsigned long character );
  54. BOOL IsXDigit( struct Locale *locale, unsigned long character );
  55. struct Catalog *OpenCatalogA( struct Locale *locale, STRPTR name,
  56.     struct TagItem *tags );
  57. struct Catalog *OpenCatalog( struct Locale *locale, STRPTR name, Tag tag1,
  58.     ... );
  59. struct Locale *OpenLocale( STRPTR name );
  60. BOOL ParseDate( struct Locale *locale, struct DateStamp *date,
  61.     STRPTR fmtTemplate, struct Hook *getCharFunc );
  62. ULONG StrConvert( struct Locale *locale, STRPTR string, APTR buffer,
  63.     unsigned long bufferSize, unsigned long type );
  64. LONG StrnCmp( struct Locale *locale, STRPTR string1, STRPTR string2,
  65.     long length, unsigned long type );
  66. #endif     /* CLIB_LOCALE_PROTOS_H */
  67.